import instance from '@/utils/request'


interface IUser{
    adminname:string,
    password:string
}


export const dologin = (data:IUser)=>{
    return instance.post('/admin/login',data)
}